//
//  CMDBUserType.swift
//  CMDB
//
//  Created by 王磊 on 17/4/6.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

enum CMDBUserType: Int {
    
    case Normal = 0
    
    case Official = 1
    
    case UnKnown
    
    init(string: String) {
        switch string {
        case "0":
            self = .Normal
        case "1":
            self = .Official
        default:
            self = .UnKnown
        }
        
    }
}
